Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-5738 api for tokens #3023

Merged
merged 23 commits into from
Nov 5, 2024
Merged

Conversation

yagudin10
Copy link
Member

No description provided.

@@ -148,6 +148,13 @@ type UserTeamInfo {
teamRole: String
}

type APITokenInfo @since(version: "24.2.4") {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to a separate plugin

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and create separate model for create/list requests

type APITokenInfo @since(version: "24.2.4") {
tokenName: String!
token: String
periodDays: Int!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expiredAt/expirationTime/etc instead of period

@yagudin10 yagudin10 marked this pull request as ready for review October 29, 2024 10:29
@@ -67,7 +67,7 @@ export function useAuthDialogState(accessRequest: boolean, providerId: string |
const providers = authProvidersResource.data.filter(notEmptyProvider).sort(compareProviders);

const activeProviders = providers.filter(provider => {
if (provider.federated || provider.trusted || provider.private) {
if (provider.federated || provider.trusted || provider.private || provider.authHidden) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we can't use private? or trusted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private does not fit here due to the fact we won't see the setting in the server config
trusted does not fit also here, but not sure why - the backend said so

we had a call with all of the flags which can fit to our needs, so we decided to extend the scheme cause there was no best candidate to fit our needs

@alexander-skoblikov alexander-skoblikov merged commit 4380ac1 into devel Nov 5, 2024
6 of 8 checks passed
@alexander-skoblikov alexander-skoblikov deleted the CB-5738-te-support-user-access-token branch November 5, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants